package com.deep.deepenterpise.common.redis;

/**
 * @author xyz
 * @description TODO 这是一个模板
 * @time 2024/4/18 11:34
 */
public class Key extends BaseRedisKeyPrefix {

    public static final Key GET_KEY = new Key(2, "get:key");

    private Key(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public Key withExpire(int expireSeconds) {
        this.setExpireSeconds(expireSeconds);
        return this;
    }
}
